package com.it.jzs.service.admin;

import com.it.jzs.vo.Result;
import com.it.jzs.vo.params.UpdateBlogParams;
import com.it.jzs.vo.params.WriteParams;

import java.util.List;

public interface AdminBlogService {
      Result<Object> update(UpdateBlogParams updateBlogParams) ;


    Result<Object> insert(WriteParams writeParams);

    Result<Object> selectPage(Integer index, Integer size,String keyWords);

    Result<Object> delete(Integer id);

    Result<Object> selectBlogById(Integer id);

    Result<Object> deleteBatch(List<Integer> ids);

    Result<Object> updateBlogPlatform(UpdateBlogParams updateBlogParams);
}
